﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

using ctdFunction;
namespace JsRunTool
{
    public partial class FrmRetData : Form
    {
        public FrmRetData(string _data)
        {
            InitializeComponent();
            richTextBox1.Text = _data;
            if (_data.IndexOf(':') != -1)
            {
                richTextBox2.Text = Function.Analyticdata(richTextBox1.Text);
            }
        }

        private void 解析ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            richTextBox2.Text = Function.Analyticdata(richTextBox1.Text);
        }
    }
}
